package com.lwh.jxl.service;

import com.lwh.jxl.entity.AdCheliangEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface AdCheliangService {

// 	public void delete(adCheliangEntity entity) throws Exception;
//
// 	public Serializable save(adCheliangEntity entity) throws Exception;
//
// 	public void saveOrUpdate(adCheliangEntity entity) throws Exception;

    public List<AdCheliangEntity> findAll() throws Exception;

    Map<String,Object> findPage(AdCheliangEntity query);

    public String importExcel(MultipartFile uploadFile);

    public List<AdCheliangEntity> outExcel(AdCheliangEntity adCheliangEntity);

    int insertSelective(AdCheliangEntity adCheliangEntity);

    int updateByPrimaryKeySelective(AdCheliangEntity adCheliangEntity);

    int deleteByIds(String[] ids);

    int deleteOneById(String id);

}
